package com.czxy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czxy.domain.City;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface CityMapper extends BaseMapper<City> {

    @Select("select * from city where parent_id = #{parentId}")
    public List<City> findByParentId(String parentId);
}
